package com.ityuwen.mengyagushi.account.service;

import com.ityuwen.mengyagushi.model.account.UserAccount;
import com.ityuwen.mengyagushi.model.account.UserAccountDetail;
import com.ityuwen.mengyagushi.vo.account.AccountLockResultVo;
import com.ityuwen.mengyagushi.vo.account.AccountLockVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserAccountService extends IService<UserAccount> {


    void saveUserAccount(Long userId);

    AccountLockResultVo checkLock(AccountLockVo accountLockVo);

    void minus(String orderNo);

    void unlock(String orderNo);

    void paySuccess(String orderNo);

    Page<UserAccountDetail> findUserAccountDetials(Integer page, Integer limit, String accountTradeTypeDeposit);
}
